package com.lsu.app.bean;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;

import java.io.Serializable;

import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * 课程点击量
 * @Date 2023-11-14 20:26:08
 * @author hjj
 */
@Data
@TableName("click_date")
@ApiModel(value="ClickDate对象", description="课程点击量")
public class ClickDate implements Serializable {

    @NotNull(message="[]不能为空")
    @ApiModelProperty("")
    private Integer id;

    @NotNull(message="[课程id]不能为空")
    @ApiModelProperty("课程id")
    private Integer courseId;

    @ApiModelProperty("日期")
    private String culDate;

    @ApiModelProperty("类型（0课程，1课程话题）")
    private String type;

    @ApiModelProperty("次数")
    private Integer clickNum;
    @ApiModelProperty("教师id")
    private Integer teacherId;

    public ClickDate() {
    }

    public ClickDate(Integer courseId, String culDate,Integer teacherId) {
        this.courseId = courseId;
        this.teacherId=teacherId;
        this.culDate = culDate;
    }
    public ClickDate(Integer courseId,Integer clickNum, String culDate,Integer teacherId) {
        this.courseId = courseId;
        this.clickNum=clickNum;
        this.teacherId=teacherId;
        this.culDate = culDate;
    }
}
